home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
appsrcs.zip
/
APPSETUP.ZIP
/
APPSETUP.RC
< prev
next >
Wrap
Text File
|
1993-05-06
|
11KB
|
277 lines
#include <windows.h>
#include "appsetup.h"
Icon ICON appsetup.ico
Blank ICON blankbut.ico
AppSetup BITMAP apps4.bmp
SystemDlg DIALOG 60, 20, 200, 140
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
CAPTION "AppBar Setup - System Settings"
{
CONTROL "", -1, STATIC, SS_BLACKRECT, 4, 4,140, 132
CONTROL "", -1, STATIC, SS_BLACKRECT, 148, 4, 48, 132
LTEXT "Left:" -1, 8, 8, 14, 12
EDITTEXT IDD_LEFT, 43, 8, 20, 14, ES_RIGHT
SCROLLBAR, IDD_SCROLLLEFT, 64, 7, 10, 17, SBS_VERT
LTEXT "Top:" -1, 8, 28, 14, 12
EDITTEXT IDD_TOP, 43, 28, 20, 14, ES_RIGHT
SCROLLBAR IDD_SCROLLTOP, 64, 27, 10, 17, SBS_VERT
LTEXT "Buttons:" -1, 8, 48, 30, 12
EDITTEXT IDD_BUTTONS, 43, 48, 20, 14, ES_RIGHT
SCROLLBAR IDD_SCROLLBUTTONS, 64, 47, 10, 17, SBS_VERT
LTEXT "Columns:" -1, 8, 68, 30, 12
EDITTEXT IDD_ROWS, 43, 68, 20, 14, ES_RIGHT
SCROLLBAR IDD_SCROLLROWS, 64, 67, 10, 17, SBS_VERT
LTEXT "Border:" -1, 8, 88, 30, 12
EDITTEXT IDD_BORDER, 43, 88, 20, 14, ES_RIGHT
SCROLLBAR IDD_SCROLLBORDER, 64, 87, 10, 17, SBS_VERT
GROUPBOX "Options" -1, 78, 8, 60, 62
CHECKBOX "Stay in Front" IDD_STAYINFRONT, 83, 18, 55, 12
CHECKBOX "Close All" IDD_CLOSEALL, 83, 29, 55, 12
CHECKBOX "Double Click" IDD_DOUBLECLICK, 83, 40, 55, 12
CHECKBOX "Big Buttons" IDD_BIGBUTTONS, 83, 51, 55, 12
PUSHBUTTON "OK" IDOK, 151, 8, 42, 14, WS_GROUP
PUSHBUTTON "Cancel" IDCANCEL, 151, 23, 42, 14
PUSHBUTTON "Default" IDD_DEFAULT, 151, 38, 42, 14
PUSHBUTTON "About" IDD_ABOUT, 151, 53, 42, 14
PUSHBUTTON "Help" IDD_HELP, 151, 68, 42, 14
}
ShellDlg DIALOG 60, 20, 220, 130
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
CAPTION "AppBar Setup - Shell Settings"
{
CONTROL "", -1, STATIC, SS_BLACKRECT, 4, 4,160, 122
CONTROL "", -1, STATIC, SS_BLACKRECT, 168, 4, 48, 122
PUSHBUTTON "OK" IDOK, 171, 8, 42, 14, WS_GROUP
PUSHBUTTON "Cancel" IDCANCEL, 171, 23, 42, 14
PUSHBUTTON "Browse" IDSHL_BROWSE, 171, 38, 42, 14
PUSHBUTTON "Default" IDSHL_DEFAULT, 171, 53, 42, 14
PUSHBUTTON "Help" IDSHL_HELP, 171, 68, 42, 14
LTEXT "Load=" -1, 10, 8, 80, 12
EDITTEXT IDSHL_LOAD, 10, 21,150, 14, ES_AUTOHSCROLL | ES_LOWERCASE
LTEXT "Run=" -1, 10, 40, 80, 12
EDITTEXT IDSHL_RUN, 10, 53,150, 14, ES_AUTOHSCROLL | ES_LOWERCASE
LTEXT "ShellGroups:" -1, 10, 70, 80, 12
EDITTEXT IDSHL_SHELLGROUP, 10, 83,150, 14, ES_AUTOHSCROLL | ES_LOWERCASE
CHECKBOX "Use AppBar as Shell" IDSHL_SHELL, 10,105,130, 12
}
SoundDLG DIALOG 30, 20, 250, 155
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
CAPTION "AppBar Setup - Sound Settings"
{
CONTROL "", -1, STATIC, SS_BLACKRECT, 4, 4,190, 147
CONTROL "", -1, STATIC, SS_BLACKRECT, 198, 4, 48, 147
PUSHBUTTON "OK", IDSOUND_OK, 201, 8, 42, 14
PUSHBUTTON "Cancel", IDSOUND_CANCEL, 201, 23, 42, 14
PUSHBUTTON "Test", IDSOUND_TEST, 201, 38, 42, 14
PUSHBUTTON "Browse", IDSOUND_BROWSE, 201, 53, 42, 14
PUSHBUTTON "None", IDSOUND_NONE, 201, 68, 42, 14
PUSHBUTTON "Help" IDSOUND_HELP, 201, 83, 42, 14
CONTROL "Enable AppBar Sounds", IDSOUND_ENABLE, "Button",
BS_AUTOCHECKBOX | WS_TABSTOP, 62, 140, 86, 10
LTEXT "Events:", -1, 6, 6, 24, 10
LTEXT "Files:", -1, 62, 6, 24, 10
LTEXT "AppBar Start:", -1, 6, 19, 44, 10
LTEXT "AppBar Exit:", -1, 6, 33, 41, 10
LTEXT "Windows Exit:", -1, 6, 47, 48, 10
LTEXT "Program Start:", -1, 6, 61, 48, 10
LTEXT "Program Close:", -1, 6, 75, 51, 10
LTEXT "Drop File:", -1, 6, 89, 51, 10
LTEXT "Error Message:", -1, 6,103, 51, 10
LTEXT "Sound Directory:", -1, 6,125, 55, 10
EDITTEXT IDSOUND_APPSTART, 62, 18, 128, 12, ES_AUTOHSCROLL | ES_LOWERCASE
EDITTEXT IDSOUND_APPEXIT, 62, 32, 128, 12, ES_AUTOHSCROLL | ES_LOWERCASE
EDITTEXT IDSOUND_WINEXIT, 62, 46, 128, 12, ES_AUTOHSCROLL | ES_LOWERCASE
EDITTEXT IDSOUND_PROGSTART, 62, 60, 128, 12, ES_AUTOHSCROLL | ES_LOWERCASE
EDITTEXT IDSOUND_PROGCLOSE, 62, 74, 128, 12, ES_AUTOHSCROLL | ES_LOWERCASE
EDITTEXT IDSOUND_DROPFILE, 62, 88, 128, 12, ES_AUTOHSCROLL | ES_LOWERCASE
EDITTEXT IDSOUND_ERROR, 62,102, 128, 12, ES_AUTOHSCROLL | ES_LOWERCASE
EDITTEXT IDSOUND_SOUNDDIR, 62,124, 128, 12, ES_AUTOHSCROLL | ES_LOWERCASE
}
InitDlg DIALOG 30, 30, 140, 64
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
CAPTION "AppBar Setup - Initialisation"
{
LTEXT "Give your default IconDirectory:" -1, 10, 10, 120, 12
EDITTEXT IDINIT_INIT, 10, 22, 120, 12
GROUPBOX "" -1, 4, 4, 132, 38
PUSHBUTTON "Skip" IDINIT_CANCEL, 10, 46, 40, 14
PUSHBUTTON "OK" IDINIT_OK, 50, 46, 40, 14, WS_GROUP
PUSHBUTTON "Browse" IDINIT_BROWSE, 90, 46, 40, 14
}
ExitDlg DIALOG 30, 30, 140, 58
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
CAPTION "AppBar Setup - Exit"
{
CTEXT "Save new Settings?" -1, 10, 8, 120, 12
CHECKBOX "Restart AppBar" IDEXIT_RESTART, 40, 20, 80, 12
GROUPBOX "" -1, 4, 4, 132, 32
PUSHBUTTON "No" IDEXIT_NO, 10, 40, 40, 14
PUSHBUTTON "OK" IDEXIT_OK, 50, 40, 40, 14, WS_GROUP
PUSHBUTTON "Cancel" IDEXIT_CANCEL, 90, 40, 40, 14
}
InitEndDlg DIALOG 30, 30, 160, 88
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
CAPTION "AppBar Setup - Startup Initialisation"
{
RADIOBUTTON "Make Shell", IDEND_SHELL, 10, 10, 65, 12
RADIOBUTTON "Load at Startup", IDEND_LOAD, 10, 22, 70, 12
RADIOBUTTON "Do nothing", IDEND_NONE, 10, 34, 65, 12
RADIOBUTTON "Start AppBar", IDEND_START, 85, 10, 65, 12
RADIOBUTTON "Restart Windows", IDEND_RESTART, 85, 22, 65, 12
RADIOBUTTON "Exit AppSetup", IDEND_EXIT, 85, 34, 65, 12
CHECKBOX "Save Settings", IDEND_SAVE, 10, 50, 80, 12
GROUPBOX "" -1, 4, 4,152, 62
PUSHBUTTON "Cancel" IDEND_CANCEL, 40, 70, 40, 14
PUSHBUTTON "OK" IDEND_OK, 80, 70, 40, 14, WS_GROUP
}
SelectDirDlg DIALOG 50, 20, 120, 140
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
CAPTION "AppBar Setup - Browse Directory"
{
CONTROL "", IDDIR_LIST, "listbox", LBS_NOTIFY | LBS_STANDARD | WS_BORDER | WS_VSCROLL | WS_GROUP | WS_CHILD | WS_TABSTOP, 5, 30, 80, 80
PUSHBUTTON "OK", IDDIR_OK, 90, 5, 40, 14, WS_TABSTOP
PUSHBUTTON "Cancel", IDDIR_CANCEL, 90, 22, 40, 14, WS_TABSTOP
LTEXT "Directory:", IDDIR_TEXT, 5, 5, 45, 10
LTEXT " ", IDDIR_PATH, 5, 16, 85, 10
}
UpgradeDlg DIALOG 30, 30, 140, 56
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
CAPTION "AppBar Setup - Initialisation"
{
CTEXT "First setup of AppBar 4.00,\nwould you like a complete setup?" -1, 10, 8, 120, 16
GROUPBOX "" -1, 4, 4, 132, 30
PUSHBUTTON "No" IDUPGRADE_NO, 30, 38, 40, 14
PUSHBUTTON "Yes" IDUPGRADE_YES, 70, 38, 40, 14, WS_GROUP
}
SaveDlg DIALOG 10, 30, 160, 62
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
CAPTION "AppBar Setup - Use as Shell"
{
LTEXT "Shell= (full path and filename)" -1, 10, 10, 120, 12
EDITTEXT IDSAVE_PATH, 10, 22, 140, 12, ES_AUTOHSCROLL | ES_LOWERCASE
GROUPBOX "" -1, 4, 4, 152, 36
PUSHBUTTON "Cancel" IDSAVE_NO, 20, 44, 40, 14
PUSHBUTTON "Save" IDSAVE_YES, 60, 44, 40, 14, WS_GROUP
PUSHBUTTON "Browse" IDSAVE_BROWSE, 100, 44, 40, 14, WS_GROUP
}
RestartDlg DIALOG 10, 30, 160, 48
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
CAPTION "AppBar Setup - Restart Windows"
{
CTEXT "Restart Windows?" -1, 10, 8, 120, 12
GROUPBOX "" -1, 4, 4, 132, 24
PUSHBUTTON "No" IDRESTART_NO, 40, 32, 40, 14
PUSHBUTTON "Yes" IDRESTART_YES, 80, 32, 40, 14, WS_GROUP
}
AboutDlg DIALOG 80, 30, 80, 132
STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME
FONT 8, "Helv"
{
PUSHBUTTON "&OK" IDOK, 20, 114, 40, 14
GROUPBOX "" -1, 4, 4, 72, 106
}
/* Version information */
#ifndef VS_FF_DEBUG
#include <ver.h>
#endif
#define VER_PRODUCTVERSION_STR "4.00.03\0"
#define VER_PRODUCTVERSION 4,0,0,3
/* default is nodebug */
#ifndef DEBUG
#define VER_DEBUG 0
#else
#define VER_DEBUG VS_FF_DEBUG
#endif
#ifndef OFFICIAL
#define VER_PRIVATEBUILD VS_FF_PRIVATEBUILD
#else
#define VER_PRIVATEBUILD 0
#endif
/* default is prerelease */
#ifndef FINAL
#define VER_PRERELEASE VS_FF_PRERELEASE
#else
#define VER_PRERELEASE 0
#endif
#define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#define VER_FILEFLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
#define VER_FILEOS VOS_DOS_WINDOWS16
#define VER_COMPANYNAME_STR "NEVERnever Software\0"
#define VER_PRODUCTNAME_STR "AppSetup 4.00 Beta\0"
#define VER_LEGALTRADEMARKS_STR "NEVERnever Software\0"
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEVERSION 4,0,0,3
#define VER_FILEVERSION_STR "4.00.03\0"
#define VER_FILEDESCRIPTION_STR "Setup program for AppBar\0"
#define VER_INTERNALNAME_STR "APPSETUP\0"
#define VER_LEGALCOPYRIGHT_STR "Copyright \251 NEVERnever Software 1993\0"
#ifdef RC_INVOKED
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
PRODUCTVERSION VER_PRODUCTVERSION
FILEFLAGSMASK VER_FILEFLAGSMASK
FILEFLAGS VER_FILEFLAGS
FILEOS VER_FILEOS
FILETYPE VER_FILETYPE
FILESUBTYPE VER_FILESUBTYPE
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", VER_COMPANYNAME_STR
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", VER_INTERNALNAME_STR
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
VALUE "LegalTrademarks", VER_LEGALTRADEMARKS_STR
VALUE "ProductName", VER_PRODUCTNAME_STR
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
#endif